package com.atguigu.sta.client;

import com.atguigu.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-ucenter")
public interface UCenterClient {

    @GetMapping("/ucenter/member/getCouontRegister/{day}")
    public R getCountRegister(@PathVariable("day")String day);
}
